package com.cqut.service;

import java.util.List;
import java.util.Map;

import com.cqut.model.ProcessResultDetail;

public interface IProcessResultDetailService {
    boolean save(ProcessResultDetail processResultDetail);

    boolean update(ProcessResultDetail processResultDetail);

    boolean delete(String processResultDetailId);

    boolean batchDelete(String[] primaryKeys);

    ProcessResultDetail findModel(String processResultDetailId);

    ProcessResultDetail findModel(String processResultDetailId, String[] parameters);

    Map<String, Object> findMap(String processResultDetailId);

    Map<String, Object> findMap(String processResultDetailId, String[][] parameters);

    List<ProcessResultDetail> loadModels();

    List<ProcessResultDetail> loadModels(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<ProcessResultDetail> loadModels(String[] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps();

    List<Map<String, Object>> loadMaps(String condition, Object[] values, String order, String sort, int curPage, int limit);

    List<Map<String, Object>> loadMaps(String[][] parameters, String condition, Object[] values, String order, String sort, int curPage, int limit);

    long count();

    long count(String condition, Object[] values);

    long count(String[] parameters, boolean isDistinct);

    long count(String[] parameters, String condition, Object[] values, boolean isDistinct);
}
